package com.hoshiicloud.user.feign.hystrix;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.goods.entity.goods.GoodsGallery;
import com.hoshiicloud.goods.entity.sku.ExtSku;
import com.hoshiicloud.goods.entity.sku.ProductManage;
import com.hoshiicloud.goods.entity.spu.BaseSpu;
import com.hoshiicloud.goods.entity.spu.ExtSpu;
import com.hoshiicloud.goods.entity.spu.ExtSpuTags;
import com.hoshiicloud.goods.entity.spu.SpuSalesCategory;
import com.hoshiicloud.goods.param.ListSkuSpuParam;
import com.hoshiicloud.goods.param.goods.GoodsGalleryQueryParam;
import com.hoshiicloud.goods.param.sku.ExtSkuAddParam;
import com.hoshiicloud.goods.param.sku.ExtSkuUpdateParam;
import com.hoshiicloud.goods.param.sku.ProductManageAddParam;
import com.hoshiicloud.goods.param.sku.ProductManageUpdateParam;
import com.hoshiicloud.goods.param.spu.ExtSpuAddParam;
import com.hoshiicloud.goods.param.spu.SpuSalesCategoryAddParam;
import com.hoshiicloud.goods.param.spu.SpuSalesCategoryQueryParam;
import com.hoshiicloud.user.feign.GoodsService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class HystrixGoodsFeignFallback implements GoodsService {
    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @Override
    public Response getGoodsCategoryById(Long id) {
        logger.error("hoshiicloud-user服务Feign调用hoshiicloud-goods服务{}异常:{},",
                "GoodsService.getGoodsCategoryById","{入参参数id:"+id+"}");
        return null;
    }

    @Override
    public Response getStoreSkuNum(List<Long> storeIds) {
        logger.error("hoshiicloud-user服务Feign调用hoshiicloud-goods服务{}异常:{},",
                "GoodsService.getStoreSkuNum","{入参参数id:"+storeIds+"}");
        return null;
    }

    @Override
    public Response<Boolean> spuSalesCategoryAdd(SpuSalesCategoryAddParam param) {
        return null;
    }

    @Override
    public Response<BaseSpu> getBaseSpuById(Long id) {
        return null;
    }

    @Override
    public Response<Boolean> saveGoodsGalleryBatch(List<GoodsGallery> galleryList) {
        return null;
    }

    @Override
    public Response<Boolean> saveExtSku(ExtSkuAddParam param) {
        return null;
    }

    @Override
    public Response<Boolean> saveExtSpu(ExtSpuAddParam param) {
        return null;
    }
}
